.class public Lcom/waiqin365/lightapp/visit/a/a/ax;
.super Lcom/waiqin365/lightapp/visit/a/c;


# instance fields
.field public a:Lcom/waiqin365/lightapp/visit/b/bn;


# direct methods
.method public constructor <init>(Ljava/lang/String;Lcom/waiqin365/lightapp/visit/b/bn;Ljava/lang/String;Ljava/lang/String;)V
    .locals 3

    const/4 v0, 0x6

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/a/c;-><init>(I)V

    iput-object p2, p0, Lcom/waiqin365/lightapp/visit/a/a/ax;->a:Lcom/waiqin365/lightapp/visit/b/bn;

    const-string/jumbo v0, "/app/visit/gaea/client/v2/editVisitPlan.action"

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/ax;->c:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/ax;->e:Ljava/util/HashMap;

    const-string/jumbo v1, "Content-Type"

    const-string/jumbo v2, "application/x-www-form-urlencoded"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/ax;->e:Ljava/util/HashMap;

    const-string/jumbo v1, "auth-code"

    invoke-virtual {v0, v1, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/ax;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "data.edit_type"

    invoke-virtual {v0, v1, p3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/ax;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "data.id"

    iget-object v2, p2, Lcom/waiqin365/lightapp/visit/b/bn;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/ax;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "data.customer"

    iget-object v2, p2, Lcom/waiqin365/lightapp/visit/b/bn;->h:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/ax;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "data.visitor"

    iget-object v2, p2, Lcom/waiqin365/lightapp/visit/b/bn;->n:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/ax;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "data.visit_date"

    iget-object v2, p2, Lcom/waiqin365/lightapp/visit/b/bn;->c:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/ax;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "data.content"

    iget-object v2, p2, Lcom/waiqin365/lightapp/visit/b/bn;->f:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-static {p4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/a/a/ax;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "data.token"

    invoke-virtual {v0, v1, p4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method
